package com.qys.livesMall.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 支付平台
 * </p>
 *
 * @author 
 * @since 2023-11-06
 */
@Getter
@Setter
@TableName("h2_sys_payment_platform")
@Schema(name = "SysPaymentPlatform", description = "支付平台")
public class SysPaymentPlatform implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "通道类型")
    private String channelType;

    @Schema(description = "通道ID")
    private Integer channelId;

    @Schema(description = "最小金额")
    private BigDecimal minimumAmount;

    @Schema(description = "最大金额")
    private BigDecimal maximumAmount;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "是否删除")
    @TableLogic
    private Byte deleted;

    @Schema(description = "状态 0 关闭 1开")
    private Integer state;
}
